package com.neudu.yyzx_service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neudu.yyzx_service.pojo.Nursecontent;
import com.neudu.yyzx_service.pojo.Nurselevelitem;
import com.neudu.yyzx_service.service.NursecontentService;
import com.neudu.yyzx_service.mapper.NursecontentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 范传鑫
* @description 针对表【nursecontent】的数据库操作Service实现
* @createDate 2025-04-17 09:52:43
*/
@Service
public class NursecontentServiceImpl extends ServiceImpl<NursecontentMapper, Nursecontent>
    implements NursecontentService{
    @Autowired
    private NursecontentMapper nursecontentMapper;
    public List<Nursecontent> get_all_name(){
        return nursecontentMapper.get_all_name();
    }
    public List<Nursecontent> getnursingname_by_levelname(String levelname){
        return nursecontentMapper.getnursingname_by_levelname(levelname);
    }



    @Override
    public List<Nursecontent> get_nursecontents_level_by(String nursingname, Integer nurselevelid) {
        return nursecontentMapper.get_nursecontents_level_by(nursingname,nurselevelid);
    }

    @Override
    public Integer updatestatus(Nursecontent nursecontent) {
        return nursecontentMapper.updatestatus(nursecontent);
    }
}




